package com.cmy.webCore.vo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @Author:Cmy
 * @Date:2022/11/21-16:56
 * @Description:
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class PageResult<T> {
    /**
     * 总条数
     * @mock
     * @since v1.0.0
    **/
    private Long total;

    /**
     * 页码
     * @mock
     * @since v1.0.0
    **/
    private Long curPage;

    /**
     * 页面总数量
     * @mock
     * @since v1.0.0
    **/
    private Long pages;

    /**
     * 结果集
     * @mock
     * @since v1.0.0
    **/
    private List<T> records;
}

    